home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / rpg / crossfir.92 / crossfir / crossfire-0.92.5 / doc / teleporter.doc < prev    next >
Text File  |  1996-07-24  |  3KB  |  63 lines

  1. Updated 11/5/95 to include full documentation on teleporters (mwedel)
  2.  
  3. Teleporters operate in a manner similar to exits - when something is on a
  4. teleporter, and the teleporter gets its movement, the object is then
  5. teleported.
  6.  
  7.  The main difference between that and normal exits is that normal exits
  8. transport the person either when they step on it (auto_apply), or when they
  9. apply it.  Teleporters operate without user control - you will get
  10. teleported whether or not you want to.
  11.  
  12.  Also, teleporters have speed associated with them - the way speed works
  13. with teleporters is the same as with other objects - when the teleporter
  14. gets its chance to move, it teleports at that time.  Thus, if a teleporter
  15. has a speed of 0.05, it would teleport something once very 20 ticks.
  16.  
  17. Teleporters can be set to operate in three ways:
  18.  
  19. 1) Slaying (new map) with destination coordinates.  In this case, it
  20. will teleport the player to the new map.
  21. 2) Destination coordinates, but no maps supplied.  In this case, it will
  22. teleport the object to the same map, new coordinates.
  23. 3) No coordinates or map supplied.
  24.  
  25. Note that there is a difference between #1 and #2 above even if the map
  26. supplied is the map you are on.  If a map is provided, even if it is the
  27. same map, only players will be teleported.  In the case of #2, all objects
  28. will be teleported.  Thus, in most cases, if you are doing a same map
  29. teleport, you want to leave the slaying field blank, so it will teleport all
  30. objects.
  31.  
  32. In the case of #3, it will teleport you to any teleporter that is with 5
  33. spaces of the source teleporter.  Note that for this to work, the destinatin
  34. teleporter must either be the first or second object on the space (ie, if a
  35. teleporter has 2 objects beneath it, it will not work).  Which teleporter
  36. you go to is randomly determined.
  37.  
  38. Now for special teleporters:
  39.  
  40. By default, teleporters teleport anything which steps
  41. on them to x,y,map (see map editor)
  42.  
  43. If you'd like to make teleporters trigger off of 
  44. something, you must:
  45.  
  46. make sure that the teleporter object has a speed of 0.
  47. pentagrams have a speed of zero by default, other
  48. teleporters must be modified using the map editor
  49.  
  50. give the teleporter a connected value.  You may use
  51. any object to trigger the teleporter.  This includes
  52. magic ears, which recognize words, buttons, levers,
  53. altars, pedestals, perhaps even monsters.
  54.  
  55. When the connected object is triggered, the teleporter
  56. will trigger also, teleporting whomever is on it
  57. someplace.
  58.  
  59. NOTE: In order to teleport items other than players, the teleporter can not
  60. have an exit path set.  This means that it must be moving the objects
  61. between the same map.  Even if the exit path is set to this same map, the
  62. teleporter will not work properly for transporting objects.
  63.